package com.IT.service;

import com.alibaba.dubbo.config.annotation.Service;

@Service
public class UserServiceImpl implements UserService {
    @Override
    public boolean login(String username, String password) {
        System.out.println("service_provide...u:" + username + "p:" + password);
        if ("admin".equals(username) && "123".equals(password)) {
            System.out.println("username = " + username);
            return true;
        }
        return false;
    }
}